/*
 * Message.h
 *
 *  Created on: Apr 4, 2011
 *      Author: trietto
 */

#ifndef MESSAGE_H_
#define MESSAGE_H_

#include <FBase.h>
#include "Packet.h"
#include "xmpp/util/StringUtils.h"
#include "xmpp/packet/XmppError.h"

using namespace Osp::Base;

class Message :
	public Packet{
public:
	Message();
	virtual ~Message();
public:
	virtual String toXML();
    String getBody();
    String getSubject();
    String getType();
    String getXmppThread();
    void setBody(String body);
    void setSubject(String subject);
    void setType(String type);
    void setXmppThread(String xmppThread);

private:
	String __type;
	String __xmppThread;
	String __subject;
	String __body;

};

#endif /* MESSAGE_H_ */
